<template>
  <!-- 这个页面大概率废弃 -->
  <div>
    <div>
      <span @click="goback">取消</span>
      <p>发评论</p>
      <button>发送</button>
      <textarea placeholder="请输入评论" cols="42" rows="9"></textarea>
    </div>
  </div>
</template>

<script>
export default {
  methods: {
    goback() {
      this.$router.go(-1);
    },
  },
};
</script>

<style lang="scss" scoped>
span {
  display: inline-block;
  margin: 5px 20px;
  position: relative;
  z-index: 1;
  font-size: 16px;
  line-height: 30px;
  color: #4a4945;
}
p {
  display: inline-block;
  width: 100%;
  height: 44px;
  line-height: 44px;
  position: absolute;
  left: 0;
  right: 0;
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  padding: 0 90px;
  margin: 0 auto;
  box-sizing: border-box;
  color: #4a4945;
}
button {
  font-size: 16px;
  background-color: #ffffff;
  color: #999999;
  border: 1px solid;
  border-color: #999999;
  border-radius: 4px;
  position: relative;
  left: 240px;
  top: 4px;
  box-sizing: border-box;
  margin: 0;
  text-align: center;
  line-height: 28px;
  width: 50px;
  height: 30px;
}
textarea {
  overflow: auto;
  border: none;
  outline: none;
  resize: none;
  position: relative;
  left: 15px;
}
</style>
